package com.zzhardy.example.common;

import java.util.Date;

import cn.zzhardy.annotation.Excel;
import cn.zzhardy.annotation.Excel.ColumnType;
import cn.zzhardy.annotation.Excels;
import lombok.Data;

/**
 * @Author：Hardy
 * @Date：2021/3/28
 * @Function:
 */
@Data
public class SysLog {
    
    @Excel(name = "日志序号", sort = 1, prompt = "测试")
    private Integer jobLogId;
    
    @Excel(name = "日志信息", sort = 2)
    private String jobMessage;
    
    @Excel(name = "执行状态", valueSubstitution = "0=正常,1=失败", sort = 4, fontColor = "0=#ff0000,1=#66ccff", combo = {"正常", "失败"})
    private int status;
    
    @Excel(name = "异常信息", sort = 3)
    private String  exceptionInfo;
    
    @Excel(name = "创建日期", dateFormat = "yyyy-MM-dd", sort = 5)
    private Date createDate;
    
    @Excel(name = "失败报警图片", sort = 6, cellType = ColumnType.IMAGE, titleBackground = "217, 225, 242")
    private String errorImageUrl;
}